<select data-bind="attr:{name: name, value: ko.unwrap(selectedValue) && ko.unwrap(selectedValue)[customId] || '', 'lay-filter': filter, 'lay-search': canSearch, 'lay-verify': verify, 'lay-vertype': verifyType}">
    <option value=""></option>
    <!-- ko foreach: optionList -->
    <option data-bind="text: $data[$parent.customValue], attr:{value: $data[$parent.customId], selected: ko.unwrap($parent.selectedValue) && ko.unwrap($parent.selectedValue)[$parent.customId] == $data[$parent.customId]}"></option>
    <!-- /ko -->
</select>